package com.baizhi.springcloud.service.impl;

import com.baizhi.springcloud.dao.UserDao;
import com.baizhi.springcloud.entity.User;
import com.baizhi.springcloud.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public User selectById(Integer id) {
        return userDao.selectById(id);
    }
}
